package com.masq.agencija.service;

import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

import com.masq.agencija.interfaces.AuxClient;



public class AuxClientsB implements AuxClients {
	private Map<String, AuxClient> users = new HashMap<String, AuxClient>();

	public Collection<AuxClient> retrieve() {
		return users.values();
	}

	public AuxClient retrieveSingleUser(String userName) {
		return users.get(userName);
	}

	public AuxClient save(AuxClient user) {
		return users.put(user.getUserName(), user);
	}
}
